<?php

class entryComponents extends sfComponents
{
  // Users
  public function executeManageUsers()
  {
    $this->users = Doctrine_Core::getTable('User')->findAll();
  }
  
  // Roles
  public function executeManageRoles()
  {
    $this->roles = Doctrine_Core::getTable('Role')->findAll();
  }
}